<?php

class AssessmentReportController extends Controller {

    public function actionAssessmentreport() {

        //get user id
        $userId = Yii::app()->getUser()->getId();
        ///contoh untuk user id 3 ... nanti di hapus
        $userId = 3;
        $userMember = User::model()->findByPk($userId);

        $assessment_id = 1;
		$employee_id = 'EMP0001';
		$job_title_id = 4;

        $data = CDataReportProvider::getAssessmentReport($assessment_id, $employee_id, $job_title_id);

        $this->render('assessmentreport', array(
            'dataReport' => $data,
                )
        );
    }

}